package com.haixin.security.web;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
/**
 * 生成一个BCryptPasswordEncoder 加密后的密码，手动放到数据库中，用于数据测试
 *
 * */
public class GenBCryptPasswordEncoder {
    public static void main(String[] args) {
        String password = "123";
        System.out.println(new BCryptPasswordEncoder().encode(password));
    }
}
